feature
Hugo is not officially available for some linux platforms like Fedora, CentOS, and Red Hat etc, but un official versions of hugo are available, Here are the 10 simple procedures on how to install hugo in Centos7

CentOS

First we need the repositary informations of hugo so visit the above link https://copr.fedorainfracloud.org/coprs/daftaupe/hugo/

In this page you can see the list of available platforms for hugo, select your appropriate os on ‘REPO Download’ column

After opening your respective download a new page containing your repository details will appear, go ahead and copy the whole text

Now on your Centos machine go to folder

/etc/yum.repos.d
create a file (for ex) hugo.repo (or) run the below command

sudo vi hugo.repo
Note: This command will ask for root password
Hugo

Press ‘i’ key and paste the copied repositary details

Now save and exit ny pressing ‘esc’ key and then type ‘:wq’ and press ‘Enter’

Now run the below command

sudo yum update
Note: This command will prompt for root password
After it is updated, run command below command

sudo yum install hugo
Note : This command will promt for root password
Once it gets completed run the below command

hugo version
Note : The above command returns the hugo version
Congratulations! You have installed hugo on your centos machine

Note : This Blog Mainly Focussed on CentOS7 and the Commands may change for other Linux Platforms

 

Contact Us

Just leave your email and our support team will help you